package com.itheima.pojo;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;


@Data
@AllArgsConstructor
@NoArgsConstructor
@Table(name="t_todo")
public class Todo implements Serializable {

@Id
@Column(name = "uid")
private String  uid;

    @Column(name = "admin_uid")
    private String  adminuid;
    @Column(name = "text")
    private String  text ;
    @Column(name = "done")
    private byte  done ;
    @Column(name = "status")
    private byte  status ;
    @Column(name = "create_time")
    private Date  createTime ;
    @Column(name = "update_time")
    private Date  updateTime ;

}